package net.tensor.tensorprovider.database.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2020-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ACT_RU_TASK")
@ApiModel(value="ActRuTask对象", description="")
public class ActRuTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID_", type = IdType.AUTO)
    private String id;

    @TableField("REV_")
    private BigDecimal rev;

    @TableField("EXECUTION_ID_")
    private String executionId;

    @TableField("PROC_INST_ID_")
    private String procInstId;

    @TableField("PROC_DEF_ID_")
    private String procDefId;

    @TableField("CASE_EXECUTION_ID_")
    private String caseExecutionId;

    @TableField("CASE_INST_ID_")
    private String caseInstId;

    @TableField("CASE_DEF_ID_")
    private String caseDefId;

    @TableField("NAME_")
    private String name;

    @TableField("PARENT_TASK_ID_")
    private String parentTaskId;

    @TableField("DESCRIPTION_")
    private String description;

    @TableField("TASK_DEF_KEY_")
    private String taskDefKey;

    @TableField("OWNER_")
    private String owner;

    @TableField("ASSIGNEE_")
    private String assignee;

    @TableField("DELEGATION_")
    private String delegation;

    @TableField("PRIORITY_")
    private BigDecimal priority;

    @TableField("CREATE_TIME_")
    private LocalDateTime createTime;

    @TableField("DUE_DATE_")
    private LocalDateTime dueDate;

    @TableField("FOLLOW_UP_DATE_")
    private LocalDateTime followUpDate;

    @TableField("SUSPENSION_STATE_")
    private BigDecimal suspensionState;

    @TableField("TENANT_ID_")
    private String tenantId;


}
